<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="https://unpkg.com/axios/dist/axios.min.js"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/crypto-js/4.2.0/crypto-js.min.js"></script>


</head>
<body>
<label for="info" >输入</label><input type = "text" id="info" >
<button id ="bu1">触发js（base64）</button>
<button id="bu2">触发自定义</button>
<button id="bu3">混淆</button>
<button id="bu4">补环境</button>
<button id="bu5">加密</button>
<script>
    let info = document.querySelector('#info')


    let bu1 = document.querySelector('#bu1')
    bu1.onclick = function (){
        let info_base64 = window.btoa(info.value)
        axios.get('https://httpbin.org/get', {
    params: {
      ID: 12345,
        info:info_base64
    }
  })
  .then(function (response) {
    console.log(response);
  })
  .catch(function (error) {
    console.log(error);
  });

    }



    let bu2 = document.querySelector('#bu2')
    function shuffleString(str) {
      // 参数验证
      if (typeof str !== 'string') return '';

      const arr = str.split('');
      const len = arr.length;

      // Fisher-Yates 洗牌算法
      for (let i = len - 1; i > 0; i--) {
        const j = Math.floor(Math.random() * (i + 1));
        [arr[i], arr[j]] = [arr[j], arr[i]]; // 交换位置
  }

    return arr.join('');
}

    bu2.onclick = function (){
        let info_zd = shuffleString(info.value)
        axios.get('https://httpbin.org/get', {
    params: {
      ID: 12345,
        info:info_zd
    }
  })
  .then(function (response) {
    console.log(response);
  })
  .catch(function (error) {
    console.log(error);
  });

    }



 function _0x2c50(_0x5771c8,_0x347c88){const _0x18ef80=_0x18ef();return _0x2c50=function(_0x2c5061,_0x213c0e){_0x2c5061=_0x2c5061-0x133;let _0x45cdc5=_0x18ef80[_0x2c5061];return _0x45cdc5;},_0x2c50(_0x5771c8,_0x347c88);}(function(_0x2f8033,_0x3a0ca9){const _0x5033ee=_0x2c50,_0x3f7f36=_0x2f8033();while(!![]){try{const _0x1a081e=parseInt(_0x5033ee(0x137))/0x1+parseInt(_0x5033ee(0x138))/0x2+parseInt(_0x5033ee(0x13e))/0x3*(parseInt(_0x5033ee(0x139))/0x4)+-parseInt(_0x5033ee(0x133))/0x5*(parseInt(_0x5033ee(0x135))/0x6)+parseInt(_0x5033ee(0x13c))/0x7+-parseInt(_0x5033ee(0x13a))/0x8+-parseInt(_0x5033ee(0x13b))/0x9;if(_0x1a081e===_0x3a0ca9)break;else _0x3f7f36['push'](_0x3f7f36['shift']());}catch(_0x44fefd){_0x3f7f36['push'](_0x3f7f36['shift']());}}}(_0x18ef,0x64bd6));function shuffleString11(_0x3ccdec){const _0x134806=_0x2c50;if(typeof _0x3ccdec!==_0x134806(0x134))return'';const _0xe6b645=_0x3ccdec['split'](''),_0x131453=_0xe6b645[_0x134806(0x136)];for(let _0x201a95=_0x131453-0x1;_0x201a95>0x0;_0x201a95--){const _0x202313=Math['floor'](Math['random']()*(_0x201a95+0x1));[_0xe6b645[_0x201a95],_0xe6b645[_0x202313]]=[_0xe6b645[_0x202313],_0xe6b645[_0x201a95]];}return _0xe6b645[_0x134806(0x13d)]('');}function _0x18ef(){const _0x874da0=['length','698398XOtwFl','1324592fJXmBk','24VOvTba','2560568ZdWJOu','4097619zsRxDp','743736ggcIHd','join','123927yumfzB','20rDimsN','string','790206ZgWxUs'];_0x18ef=function(){return _0x874da0;};return _0x18ef();}

    let bu3 = document.querySelector('#bu3')
     bu3.onclick = function (){
        let info_zd = shuffleString11(info.value)
        axios.get('https://httpbin.org/get', {
    params: {
      ID: 12345,
        info:info_zd
    }
  })
  .then(function (response) {
    console.log(response);
  })
  .catch(function (error) {
    console.log(error);
  });

    }


    let bu4 = document.querySelector('#bu4')
    function _0x1153(_0x163de1,_0x5ed3aa){const _0x13583a=_0x1358();return _0x1153=function(_0x1153ed,_0x18bc15){_0x1153ed=_0x1153ed-0x1ce;let _0x35795a=_0x13583a[_0x1153ed];return _0x35795a;},_0x1153(_0x163de1,_0x5ed3aa);}(function(_0x182990,_0x164614){const _0x3d3f1b=_0x1153,_0x58d287=_0x182990();while(!![]){try{const _0xa861f2=parseInt(_0x3d3f1b(0x1d8))/0x1+parseInt(_0x3d3f1b(0x1ce))/0x2*(parseInt(_0x3d3f1b(0x1d6))/0x3)+-parseInt(_0x3d3f1b(0x1d3))/0x4+-parseInt(_0x3d3f1b(0x1d2))/0x5*(parseInt(_0x3d3f1b(0x1d0))/0x6)+parseInt(_0x3d3f1b(0x1d5))/0x7+parseInt(_0x3d3f1b(0x1cf))/0x8+-parseInt(_0x3d3f1b(0x1d1))/0x9;if(_0xa861f2===_0x164614)break;else _0x58d287['push'](_0x58d287['shift']());}catch(_0x536f84){_0x58d287['push'](_0x58d287['shift']());}}}(_0x1358,0xaac01));function ua_cookies(_0x553134){const _0x49d918=_0x1153;let _0x53885f=window[_0x49d918(0x1d7)]['userAgent']+_0x553134+window[_0x49d918(0x1d4)][_0x49d918(0x1d9)];return _0x53885f;}function _0x1358(){const _0x3ddf88=['navigator','1234678vqNFSl','cookie','34bhqZcj','1158720ENmaBK','6GatJbp','6821604gqSNYO','4203425RfRsia','2761396Pniuoq','document','8876819Bwzgmf','60132tNhViz'];_0x1358=function(){return _0x3ddf88;};return _0x1358();}
     bu4.onclick = function (){
        let info_zd = ua_cookies(info.value)
        axios.get('https://httpbin.org/get', {
    params: {
      ID: 12345,
        info:info_zd
    }
  })
  .then(function (response) {
    console.log(response);
  })
  .catch(function (error) {
    console.log(error);
  });

    }

var k = 'secret key 123'
    function crpyto(i){
        return  CryptoJS.AES.encrypt(i, k).toString()
    }


   let bu5 = document.querySelector('#bu5')

        bu5.onclick = function (){
        let info_zd = crpyto(info.value);
        axios.get('https://httpbin.org/get', {
    params: {
      ID: 12345,
        info:info_zd
    }
  })
  .then(function (response) {
    console.log(response);
  })
  .catch(function (error) {
    console.log(error);
  });

    }

</script>







</body>
</html>